<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="inquiry-list" style="color:#999">
    <c:forEach var="prescription" items="${prescriptionList}" varStatus="status">
        <div class="inquiry-block">
            <label class="weui-cell weui-check__label block-head" >
                <div class="weui-cell__hd"><i class="fa fa-th-list" aria-hidden="true"></i></div>
                <div class="weui-cell__bd"><p style="padding-left:0.2rem">方案</p></div>
                <div class="weui-cell__bd">
                    <span class="view-link">${prescription.prescriptionState}</span>
                </div>
            </label>
            <div class="block-body">
                <p><span>患 者 ：</span>${prescription.suffererName}，${prescription.suffererAge}岁</p>
                <p><span>病症名：</span>${prescription.diseaseName}</p>
                <p><span>方案收费：</span>${prescription.charge}</p>
                <p><span>处 方：</span>
                    <c:forEach var="detailObject" items="${prescription.prescriptionDetail}" varStatus="status">
                        ${detailObject.medicalName}${detailObject.count}克
                    </c:forEach>
                </p>
                <p><span>贴 数 ：</span>${prescription.prescriptionCount}</p>
                <p><span>开方时间：</span>${prescription.prescriptionTime}</p>
            </div>
        </div>
    </c:forEach>
   <%-- <div class="inquiry-block">
        <label class="weui-cell weui-check__label block-head" >
            <div class="weui-cell__hd"><i class="fa fa-th-list" aria-hidden="true"></i></div>
            <div class="weui-cell__bd"><p style="padding-left:0.2rem">方案</p></div>
            <div class="weui-cell__bd">
                <span class="view-link">咨询免费</span>
            </div>
        </label>
        <div class="block-body">
            <p><span>患 者 ：</span>王兴光，29岁</p>
            <p><span>病症名：</span>身体不舒服，上吐下泻，咳嗽，背痛脖子痛上下都通，弯腰减不了什么事东西也拿不了，吃不好，睡不好</p>
            <p><span>方 案 ：</span>失眠多梦</p>
            <p><span>处 方：</span>当归</p>
            <p><span>贴 数 ：</span>3贴</p>
            <p><span>开方时间：</span>2018-04-12 12:34</p>
        </div>
    </div>--%>
</div>